﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class Algorithms
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class Algorithms
   ">
    <meta name="generator" content="docfx 2.40.12.0">
    
    <link rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    <meta property="docfx:rel" content="../">
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../images/logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="Mapsui.Geometries.Utilities.Algorithms">
  
  
  <h1 id="Mapsui_Geometries_Utilities_Algorithms" data-uid="Mapsui.Geometries.Utilities.Algorithms" class="text-break">Class Algorithms
  </h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">Algorithms</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="Mapsui.Geometries.Utilities.html">Mapsui.Geometries.Utilities</a></h6>
  <h6><strong>Assembly</strong>: Mapsui.Geometries.dll</h6>
  <h5 id="Mapsui_Geometries_Utilities_Algorithms_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class Algorithms : object</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms_DegreesToRadians_System_Double_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms.DegreesToRadians(System.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L48">View Source</a>
  </span>
  <a id="Mapsui_Geometries_Utilities_Algorithms_DegreesToRadians_" data-uid="Mapsui.Geometries.Utilities.Algorithms.DegreesToRadians*"></a>
  <h4 id="Mapsui_Geometries_Utilities_Algorithms_DegreesToRadians_System_Double_" data-uid="Mapsui.Geometries.Utilities.Algorithms.DegreesToRadians(System.Double)">DegreesToRadians(Double)</h4>
  <div class="markdown level1 summary"><p>Converts the specified angle from degrees to radians</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double DegreesToRadians(double degrees)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">degrees</span></td>
        <td><p>Angle to convert (degrees)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><p>Returns the angle in radians</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms_Distance_Mapsui_Geometries_Point_Mapsui_Geometries_Point_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms.Distance(Mapsui.Geometries.Point%2CMapsui.Geometries.Point)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L38">View Source</a>
  </span>
  <a id="Mapsui_Geometries_Utilities_Algorithms_Distance_" data-uid="Mapsui.Geometries.Utilities.Algorithms.Distance*"></a>
  <h4 id="Mapsui_Geometries_Utilities_Algorithms_Distance_Mapsui_Geometries_Point_Mapsui_Geometries_Point_" data-uid="Mapsui.Geometries.Utilities.Algorithms.Distance(Mapsui.Geometries.Point,Mapsui.Geometries.Point)">Distance(Point, Point)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double Distance(Point a, Point b)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Point.html">Point</a></td>
        <td><span class="parametername">a</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Point.html">Point</a></td>
        <td><span class="parametername">b</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms_Distance_System_Double_System_Double_System_Double_System_Double_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms.Distance(System.Double%2CSystem.Double%2CSystem.Double%2CSystem.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L33">View Source</a>
  </span>
  <a id="Mapsui_Geometries_Utilities_Algorithms_Distance_" data-uid="Mapsui.Geometries.Utilities.Algorithms.Distance*"></a>
  <h4 id="Mapsui_Geometries_Utilities_Algorithms_Distance_System_Double_System_Double_System_Double_System_Double_" data-uid="Mapsui.Geometries.Utilities.Algorithms.Distance(System.Double,System.Double,System.Double,System.Double)">Distance(Double, Double, Double, Double)</h4>
  <div class="markdown level1 summary"><p>Gets the euclidean distance between two points.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double Distance(double x1, double y1, double x2, double y2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">x1</span></td>
        <td><p>The first point&apos;s X coordinate.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">y1</span></td>
        <td><p>The first point&apos;s Y coordinate.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">x2</span></td>
        <td><p>The second point&apos;s X coordinate.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">y2</span></td>
        <td><p>The second point&apos;s Y coordinate.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms_DistanceToLine_Mapsui_Geometries_Point_IList_Mapsui_Geometries_Point__.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms.DistanceToLine(Mapsui.Geometries.Point%2CIList%7BMapsui.Geometries.Point%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L175">View Source</a>
  </span>
  <a id="Mapsui_Geometries_Utilities_Algorithms_DistanceToLine_" data-uid="Mapsui.Geometries.Utilities.Algorithms.DistanceToLine*"></a>
  <h4 id="Mapsui_Geometries_Utilities_Algorithms_DistanceToLine_Mapsui_Geometries_Point_IList_Mapsui_Geometries_Point__" data-uid="Mapsui.Geometries.Utilities.Algorithms.DistanceToLine(Mapsui.Geometries.Point,IList{Mapsui.Geometries.Point})">DistanceToLine(Point, IList&lt;Point&gt;)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double DistanceToLine(Point point, IList&lt;Point&gt; points)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Point.html">Point</a></td>
        <td><span class="parametername">point</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">IList</span>&lt;<a class="xref" href="Mapsui.Geometries.Point.html">Point</a>&gt;</td>
        <td><span class="parametername">points</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms_GetDistanceAndSegmentIndex_Mapsui_Geometries_Point_IList_Mapsui_Geometries_Point__.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms.GetDistanceAndSegmentIndex(Mapsui.Geometries.Point%2CIList%7BMapsui.Geometries.Point%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L196">View Source</a>
  </span>
  <a id="Mapsui_Geometries_Utilities_Algorithms_GetDistanceAndSegmentIndex_" data-uid="Mapsui.Geometries.Utilities.Algorithms.GetDistanceAndSegmentIndex*"></a>
  <h4 id="Mapsui_Geometries_Utilities_Algorithms_GetDistanceAndSegmentIndex_Mapsui_Geometries_Point_IList_Mapsui_Geometries_Point__" data-uid="Mapsui.Geometries.Utilities.Algorithms.GetDistanceAndSegmentIndex(Mapsui.Geometries.Point,IList{Mapsui.Geometries.Point})">GetDistanceAndSegmentIndex(Point, IList&lt;Point&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns the shortest distance to a line and also the index of the segment 
with that shortest distance. Segments count from zero to vertex count - 1.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static (double Distance, int Segment)GetDistanceAndSegmentIndex(Point point, IList&lt;Point&gt; points)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Point.html">Point</a></td>
        <td><span class="parametername">point</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">IList</span>&lt;<a class="xref" href="Mapsui.Geometries.Point.html">Point</a>&gt;</td>
        <td><span class="parametername">points</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ValueTuple</span>&lt;<span class="xref">System.Double</span>, <span class="xref">System.Int32</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms_IsCCW_Mapsui_Geometries_LinearRing_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms.IsCCW(Mapsui.Geometries.LinearRing)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L109">View Source</a>
  </span>
  <a id="Mapsui_Geometries_Utilities_Algorithms_IsCCW_" data-uid="Mapsui.Geometries.Utilities.Algorithms.IsCCW*"></a>
  <h4 id="Mapsui_Geometries_Utilities_Algorithms_IsCCW_Mapsui_Geometries_LinearRing_" data-uid="Mapsui.Geometries.Utilities.Algorithms.IsCCW(Mapsui.Geometries.LinearRing)">IsCCW(LinearRing)</h4>
  <div class="markdown level1 summary"><p>Tests whether a ring is oriented counter-clockwise.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool IsCCW(LinearRing ring)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.LinearRing.html">LinearRing</a></td>
        <td><span class="parametername">ring</span></td>
        <td><p>Ring to test.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>Returns true if ring is oriented counter-clockwise.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms_PointInPolygon_IList_Mapsui_Geometries_Point__Mapsui_Geometries_Point_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms.PointInPolygon(IList%7BMapsui.Geometries.Point%7D%2CMapsui.Geometries.Point)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L160">View Source</a>
  </span>
  <a id="Mapsui_Geometries_Utilities_Algorithms_PointInPolygon_" data-uid="Mapsui.Geometries.Utilities.Algorithms.PointInPolygon*"></a>
  <h4 id="Mapsui_Geometries_Utilities_Algorithms_PointInPolygon_IList_Mapsui_Geometries_Point__Mapsui_Geometries_Point_" data-uid="Mapsui.Geometries.Utilities.Algorithms.PointInPolygon(IList{Mapsui.Geometries.Point},Mapsui.Geometries.Point)">PointInPolygon(IList&lt;Point&gt;, Point)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool PointInPolygon(IList&lt;Point&gt; ring, Point point)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">IList</span>&lt;<a class="xref" href="Mapsui.Geometries.Point.html">Point</a>&gt;</td>
        <td><span class="parametername">ring</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Point.html">Point</a></td>
        <td><span class="parametername">point</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms_RotateClockwiseDegrees_System_Double_System_Double_System_Double_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms.RotateClockwiseDegrees(System.Double%2CSystem.Double%2CSystem.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L60">View Source</a>
  </span>
  <a id="Mapsui_Geometries_Utilities_Algorithms_RotateClockwiseDegrees_" data-uid="Mapsui.Geometries.Utilities.Algorithms.RotateClockwiseDegrees*"></a>
  <h4 id="Mapsui_Geometries_Utilities_Algorithms_RotateClockwiseDegrees_System_Double_System_Double_System_Double_" data-uid="Mapsui.Geometries.Utilities.Algorithms.RotateClockwiseDegrees(System.Double,System.Double,System.Double)">RotateClockwiseDegrees(Double, Double, Double)</h4>
  <div class="markdown level1 summary"><p>Rotates the specified point clockwise about the origin</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Point RotateClockwiseDegrees(double x, double y, double degrees)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">x</span></td>
        <td><p>X coordinate to rotate</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">y</span></td>
        <td><p>Y coordinate to rotate</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">degrees</span></td>
        <td><p>Angle to rotate (degrees)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Point.html">Point</a></td>
        <td><p>Returns the rotated point</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms_RotateClockwiseRadians_System_Double_System_Double_System_Double_.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms.RotateClockwiseRadians(System.Double%2CSystem.Double%2CSystem.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L74">View Source</a>
  </span>
  <a id="Mapsui_Geometries_Utilities_Algorithms_RotateClockwiseRadians_" data-uid="Mapsui.Geometries.Utilities.Algorithms.RotateClockwiseRadians*"></a>
  <h4 id="Mapsui_Geometries_Utilities_Algorithms_RotateClockwiseRadians_System_Double_System_Double_System_Double_" data-uid="Mapsui.Geometries.Utilities.Algorithms.RotateClockwiseRadians(System.Double,System.Double,System.Double)">RotateClockwiseRadians(Double, Double, Double)</h4>
  <div class="markdown level1 summary"><p>Rotates the specified point clockwise about the origin</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static Point RotateClockwiseRadians(double x, double y, double radians)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">x</span></td>
        <td><p>X coordinate to rotate</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">y</span></td>
        <td><p>Y coordinate to rotate</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">radians</span></td>
        <td><p>Angle to rotate (radians)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.Point.html">Point</a></td>
        <td><p>Returns the rotated point</p>
</td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Geometries_Utilities_Algorithms.md&amp;value=---%0Auid%3A%20Mapsui.Geometries.Utilities.Algorithms%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Geometries/Utilities/Algorithms.cs/#L23" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
